glarea: Drop the dispose vfunc
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 Jan 2018 00:49:52 +0000 (19:49 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Jan 2018 00:49:52 +0000 (19:49 -0500)
commit34c63b8e4f5068e855283e54bf76233a4e575a59
tree080e4339854488cbd6a3bcd3d5642adddc9d72fa
parent0429008b165d3af4db54fdc59967595e8d91e396
glarea: Drop the dispose vfunc

This was causing us to leak, in the following scenario:
1) gtk_widget_destroy is called on a GL area
2) dispose is run and clears the context
3) the GL area is unrealized, but the context is already cleared,
   so we leak all the GL buffers
gtk/gtkglarea.c